package cn.iocoder.yudao.module.system.controller.admin.user.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Schema(description = "管理后台 - 用户资源授予VIP Request VO")
@Data
public class UserAssetsGrantVipReqVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "授予的天数", requiredMode = Schema.RequiredMode.REQUIRED, example = "7")
    @NotNull(message = "天数不能为空")
    @Positive(message = "天数必须大于0")
    private Integer days;

}
